﻿/***********************************************************************
 * <copyright file="ITaxTransDao.cs" company="BUCA JSC">
 * -->    Copyright (C) statement. All right reserved
 * </copyright>
 * 
 * Created:   ThangND
 * Email:    thangnd@buca.vn
 * Website:
 * Create Date: 20 March 2014
 * Usage: 
 * 
 * RevisionHistory: 
 * Date         Author               Description 
 * 
 * ************************************************************************/

using System.Collections.Generic;
using BusinessObjects.BussinessVoucher;

namespace DataObjects.StandartInterfaces
{
    /// <summary>
    /// ITaxTransDao
    /// </summary>
    public interface ITaxTransDao 
    {
        /// <summary>
        /// Inserts the journal entry account.
        /// </summary>
        /// <param name="journalEntryAccount">The journal entry account.</param>
        /// <returns></returns>
        string InsertTaxTrans(TaxTrans journalEntryAccount);

        /// <summary>
        /// Inserts the double journal entry account.
        /// </summary>
        /// <param name="journalEntryAccount">The journal entry account.</param>
        /// <returns></returns>
        string InsertDoubleTaxTrans(TaxTrans journalEntryAccount);

        /// <summary>
        /// Deletes the journal entry account.
        /// </summary>
        /// <param name="journalEntryAccount">The journal entry account.</param>
        /// <returns></returns>
        string DeleteTaxTrans(TaxTrans journalEntryAccount);

        /// <summary>
        /// Deletes the journal entry account.
        /// </summary>
        /// <param name="refId">The reference identifier.</param>
        /// <param name="refTypeId">The reference type identifier.</param>
        /// <returns></returns>
        string DeleteTaxTrans(long refId, int refTypeId);


        List<TaxTrans> GetTaxTransForCapitalAllocate(TaxTrans journalEntryAccount);
    }
}
